package com.pond.pond.service;

import com.pond.pond.domain.PondOrder;
import com.pond.pond.domain.PondOrderItem;

import java.util.List;

public interface OrderService {

    /**
     * 查询订单详情
     *
     * @return 订单管理
     */

    List<PondOrder> selectOrderListByUserId();

    /**
     * 查询订单明细详情
     *
     * @param orderId 订单主键
     * @return 订单管理
     */

    List<PondOrderItem> selectOrderItemsListByOrderId(Long orderId);

    Long insertOrder(PondOrder pondOrder);
    int deleteOrderByIds(Long[] ids);
    int deleteOrderItemsByIds(Long[] ids);
}
